home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / bisicc.arc / CC.DOC < prev    next >
Text File  |  1985-06-26  |  3KB  |  61 lines

  1. cc     sortof a unix cc command to compile/assemble and link sources.
  2.      
  3.     !(c) 1985 James Montebello (not copyrighted, no need to reproduce 
  4.               this anywhere, do with the code what you will)
  5.  
  6.      this version of cc is intended to work with the Computer Innovations
  7.      C86 compiler, IBM's MASM and IBM's LINK. 
  8.      it shouldn't be too big a deal to get it to work with any c compiler.
  9.  
  10.      usage: cc [flags] file...
  11.         file(s) can be .c's, .asm's, or .obj's. if
  12.         no extension is given, .c is assumed. wildcards ok.
  13.  
  14.         flags:
  15.         -ofile    file is where the linked output will be
  16.                   placed. the 1st file in the list is the
  17.                   assumed output if no -o present
  18.         -lpath    path is the full path/filename of a 
  19.                   library to be included in the list,
  20.                   multiple libs can be in path, or several
  21.                   -l's can be given
  22.         -c    compile only, skip link step
  23.         -C    regular C86 -c flag.
  24.         all other c86 flags passed thru directly.
  25.         most assembler and linker flags passed thru as well,
  26.         do cc{ret} for these flags, most are simply capitalized.
  27.  
  28.         if no -h (c86 flag, path for includes) is given, the
  29.         contents of the environment variable, CCINCLUDES
  30.         will be used [note: like the c86 flag, this path
  31.         must have an ending '\' or '/'.    If neither is present,
  32.         /lib/include/ is assumed.
  33.  
  34.         the environment variables CCSLIB and CCBLIB should
  35.         contain the path/filename of the small and big 
  36.         libraries to be used for link. If the environment 
  37.         variables are not present, /lib/c86s2s.lib and 
  38.         /lib/c86b2s.lib are assumed.
  39.  
  40.         if you run out of environment space (only 128 bytes, indeed!),
  41.         there is a public-domain program available widely called
  42.         BOOT.EXE that allows you to increase your system environment
  43.         up to 32K (theoretically). I wished I could remember the 
  44.         name of the guy who wrote it and/or where I got it. Its
  45.         really a swell utility.
  46.  
  47.         There is a bug someplace in the code that appears 
  48.         intermittantly. cc may issue an error compiling
  49.         a file when no error has occurred. Quite often it
  50.         will appear before the command is issued. I can't seem
  51.         to track it down; its driving me crazy. 
  52.  
  53.     any suggestions, fixes (see above) or whatever, send me a
  54.     message through either of the two boards listed below, or
  55.         write me at:
  56.  
  57.     James Montebello
  58.         Bridge Investment Systems, inc.
  59.         10050 Manchester Rd.
  60.         St. Louis, MO 63122
  61.